finished inter, procs for database builder