switched from single analog reads to using the buttonline struct.