initial commit with rundimentary logging.