add return *this; to overloaded operators to fix errors