Trying to figure out how to do callbacks