Added geturl method