database handler and console handler impr.