add static methods in OS enum