Still working on error analysis implementation..