use macro for major version