add logging
add :pred in a couple words where it was needed
add :pred in a couple words where it was needed