initial commit of tested code.