still trying to get extracts right. remove unwanted logging