Some modification to make it work with LCD screen.