added aprobar functions