first attempt at a thumbnail worker