Removed redundant check on the variable firstRun