initial working commit of all desired from start functional(not tested match)