use prefix matching for command dispatch