Added bodies of functions