LCR was transferred from program to function Makefile was adapted