temporary result

not compiling, but getting closer to final goal