added new convention for type check