equals && toString functionality added