Made a few variables private in createContainer