formatted the commands