Call default CB if CB provided is not a function
Combine logic into one callback