Started creating the optimizer