simpler version for chap table,

needs still preprocessing, tho