base for procedures STRUCTS MASSED UP FOR NOW