reorganise, java first, node second