add default optimization