Adding event formatting