i was throwing an exception in getName, but i can move that up to the constructor