I got the logic working