changed error message to David's suggestion