Thanks, The ANSEL register set seemed to have worked for me