Adding the possibility to start from a given x and y