Added X and Y offsets