make do_something() a function