modified Native library code to modify user input