Implementing LCG