trying to add callbacks