add two commands for sidebar