redundunant facial detection code removed