trying to implement LES into the program