Text this: Optimization of thermal efficiency of buildings