changed to logger output