take loc from first arg if given