Modify detect