enable reading events from STDIN