remove require call, and use metaparameter instead