did some things tot database handler