initialize on first generate