updated commands to use format!