added activity and reconstructed core data