notes and code about using dropout