added two types of consultas