enabling trove and swift