Changed x and y kords in constructory