adding simple logger