bit of hacking around in the hacky spike part