added rand and cooler builtins, added ms builtin to java