added primitive manager