not quite compiling but closer....