list command works