updated errors

Ready for implementation