- solved confusion about list of name and type