Changed starting x to 1