updated structure with ipyn's