having paused with development so long... now I need to add some
comments what the code does!