removed dependency on Connections class