Added create_container function