simplified the commands for up and down