added persistent settings