add method to handle multiple commands to dispatcher