Moved checking checkStatus to a function in Internal