first time detection added