first draft of notebook_s4