adjusted some commands to work with multiple operands