improvements
optimalization - caching
system pref class replacing