Print ln and use correct db