original sin logic