remove unused method
rename detector class