Made the overloaded operator work