added lr code to version control