improved include to use stat