Prick pie shell with a fork and bake at 350 f for 10 min. Peel and slice onions, place in sauce pan and cover with water, boil for 5 to 10 mins. Cool. Beat together eggs and milk. Alternate layers of onions and grated cheese in the pie shell. Pour custard over all. Bake at 350 f for 25 mins or until set.