included calculation of lw from cluster