FIX: changed main to loop and fixed comparing numbers