Added Mcarthy91 function