set url generation method as private