finalized ipy notebook