added untested lcd handling