Some work on peripheral events (compiles)