added String to to_java