added logging; removed unneeded import