Trying to get this to run as a callback.