callback setup for capturing and bubble stuff