Use parseint instead of round