initialize some arrays