forgot to update file duplicate, this version is working