added list command implementation