work on list command