callback for monflow