adding procedure.dispersal.sql, very rough early version