need to leave method to avoid double creation of primary database