Added take survey functionality.