opt code and config
opt code