changed createUrl signature