add command class for gradient