pass events directly to process api data