Should have thought of this before...