improve opamization