changed error message to match the one on the project specs