quick tool bashed together to test some ideas out.