Starting on the function with the condition