parse activity