Added error message in operations