added reviewActivity function