fiddly dee

cleaned code a bit