basic face detection code added