updated loc count