use int instead of uint for positions