still adding logging in