woah, i was making event capture way too difficult. this is much easier than expected.
commenting file and removing some unnecessary codez