aster not working, improved output to cout and file.