Is this how function calling works here?