persistence now uses adaptor pattern