add a little java advices