Implemented Functions, errors exist on return and parameter
compatability within fuction block