updated encoding type for userCommand