added proper logger