changed var_str to compile