tested in CLIC java1.6