major changes
check if it possible to move in the wanted direction or not