work in progress on eliminating decl actions