detect and save finger positions