added uri func