most recent events functionality