added major language identification