Not sure there is a better way actually.