Hacked something together quickly