Main recognition updated

added some functionality with both Voce and Edit code