Functionality to read activites