added get loc