adding documentation for variable db; spons by Mainstream