added key generation to form for each actor