add logging, prints removed