moved common interests functionality to a module