adding uri setup method