implement *set* command