extend command.cs