loc code additions