Tity up to advance
Rename to check OS version
Change define into constant