added first draft of studydef ws