adding original LCD driver code