restructuring the list commands