o by the way... i'm using PORTA.0 for input and PORTA.1 for output