clean up pattern/action in read_chains
happy comments