basic types as classes