A little live coding session at job interview + some later fixes. Keeping here as a lesson not to overcomplicate things :)