If you're looking for a generic approach, I can offer a few options: