more globals and start using parameterized types for lists