first stab at a package; not tested but for backup.