new java and other variables