validates position