Added logger For debugging