bug when calculating unfreeze conditions
still some bug in unfreeze condition
adding missing files to git