Added url as a parameter