keep only java