updating service to make error messages more understandable