making add() and get() more useful