modified system to check for 'ctor'