added function nonvatable type
added vatable or nonvatable type