more work on java group and filter