add log file, menu, tested. choice between rand or input to do