use explicit constructor to initialize variables nvLoc and tvLoc