ammended bridge in order to make it work with new callback