replaced container classes by STL vectors