do optimize just once. Not needed to be done twice