added error messages

added error messages shit