laguage tests
refactoring