Wrote variable finding