Only declare oldLH variable once