addressed CR feedback: changed error message