printing flags, tiny db