checkpoint: refactor lims code