java's necklaces! - nili