New refined code, LCD-display doesn't work anymore :(