modified plotting functions; removed unnecessary DBs