add a trim command