messing with the logic