add lcd related functions