added some position validation