initial commit from cbook