removed extra white space and defined languages