made coordinates settings OO