use newer monocle for better error handling