use [].concat for multiple events instead of checking types