added tostring method