added activity accessor