the easy parts from #14