adding custom type collector and removing the need for DynamicType