Seperate event codec