created consent class