added simple logger