three-language formula implemented