Seems a bit convoluted but okay.