Added explanation and example of callback functions.