define types for global tyep