check name of declarations