created method to set url manually