Another thing... RA4 = AN3, so you need to modify your ANSELA line