removed Settings code