using winston version that works