able to mix using block based or hashed based permitting, added ability to add the any key