Changed post_callback to pre_callback from earlier experiments