implemented variety type control on languages map