add stat for mtime comparison