changed cb to callback for readability