Cleaned up to allow either error message on divide