x is working okay but not y