java hard ;_;