Started to do error handling of compilation