convert to an integer silly