New function check_interactions to specify all possible interactions