added error tracker