add another method where you can set either the x or y values and the other one is randomized