Modified to detect finger tips