Yes I think this is the most reliable way.