little for assign9, part1 (not quite working yet)