made object url optional