Using Settings instead of hard coded values