Modified FunctionOne.java