use hist to get the pos