accomodate pipeline api change - added call back func in abstract part