Detection test
Fixing errors