Changed int x to int y.