I think I can simplify this a bit.