Creating cocoon