initial generated code