Added Swift stat check