Added declare sub