updated to use updated logger