Reading two inputs

OK, done it. It works a treat. Thanks everyone