Edit: My question might have been overly broad (still learning), but I nevertheless received very useful answers. So thank you all very much for your input. I've also corrected my code to incorporate passing on 'event'.Edit: My question might have been overly broad