added modified version of RestForiOS