changed initialize method for container