added last few error messages
added  to intermediate representation