Added settings Function