Added lcd logic.