Working direct function when?