Implemented list() and history()