(similar to how I extracted a func for ReverseUrl)