Created abstraction for reference connection