Updated stupid_functions