set up all function files