more modificatin to store url in class