Added anealing check although I think my theory is slightly wrong, will need to review before continuing.