WIP fix events = []
WIP Cap max events