works as eval(String)  in Java