got template event system to work by using ugly void* to geister the event listener