added error tracking lib