handle balanced callbacks WIP