use explicit constructor to initialize the variables nvLoc and tvLoc