Move required functions up in stack