finished implementing connection pools closes #3