added locals.url to simplify url traversing