Added decorator and outlined its functionality in .h file
Added decorator