added macro to get type name statically