change the error message from with to for