need to figure out how to pass in log
passed final test. prints message after five logs