parseInt on start and end in getCoords