replaced hardcoded url