added lcdinit implementation