added a start for type mapping. current setup will not be permanent