put list_diff at module level