got basic idea mostly working