add logging print