fixed missing code but still no joy building test suite