add java third digit