added __toString method for debugging purposes