added add and toString methods