adding support for basic types