model pkeys
removed debug printing