changed projection and set some constants