added isEmpty
added toString
added putSomething