Commented out all initial function parameter lines as they cause errors if not