using default clazz.newInstance() method instead of a object constructor