Public investment works better when citizens are part of the process