allow for multiple callback and errbacks