Completed functions per instructions