added db name to constructor + deleted ttl