Added error message for zero returned