clueanup

generateKey(8, preventLocalCalls, targetInstance);  this method is very unclear, 

now its clear whats happening