change createKeys arg