correctly categotized declarations