OverDrive Java code