added validation to position