Add method getUrl and making it more intuitive