made corrections to lanaguage file and removed redundant code