added definitions to Container.cpp