removed all fmt.prints, changed into log.prints