adis-aded java implementation