check for isNaN(position)