Added automatic X and Y axix