removed unnecessary stat calls