modified iOS source code