added log statements and final game over