changed syntax to make cb() at end of transition more obvious