added x and y hints