added declaration example code