refractory and optimization : not working for the moment