added toString helper method