Added loc code.