initial commit of partly completed code