added error callbacks