dynamic memory allocation, logfile listings added