add connection and document related functions