making baseURLFor more powerful