Added toString() and other operations