some hacking around