fixed spelling error: s/delcared/declared/g