removed todo
comp design code generation and optimization