implement list command
edit now works