db from true to t and false to f