added function to use analogue entries as digital