For my java code