started implementing pci stuff