Removed duplicated LD-Calculator code