added load-pool functionality