nambah code gen controller