Added doc block and changed closeDB to return a null statement assigned to