Thanks for that TM - I forgot about the positive feedback loop ... I shall amend the code accordingly