added logging, updated requirements