add temperature and mainblock