Cheers, that's about how I expected it would work except for the trick with the resistors.