Where is this function actually called?