saves current command