excercise#4 cleaned up (logs), completed