Add basic activity function