just for  java  model