bug fix in adjacent positions
Command line interface work in progress
working user interface