One hundred and eighty patients were prospectively randomized in three groups : M ( midazolam/fentanyl ) , A ( alfentanil ) , and P ( propofol/alfentanil ) ; M and A were administered by an endoscopy nurse , P by an anesthesia nurse .