trying to make eventlistner