added process of giving consent