add problems
add belongs_to pair and problems