have i understood the logic?