added javaplex code