hacking on my task
working version, but not done properly!