if no errors, success message works