Added console logging messages