my random java code