Terrifyingly hacky first cut.