Improved error messages from the compiler
Added the alue function