OFController.java modified