create new object 'optimizer'