changed print -> log and fixed import format