Sweet Potato Casserole

3 cups mashed sweety potatoes
1/2 cup milk
1 tsp. vanilla
1 cup sugar
2 eggs
1 cup coconut
1 cup pecans
1 cup brown sugar
1/3 cup melted margarine
1/2 cup flour

Combine first 5 ingredients. (I add a little of cinnamon to mine.) Pour into a greased casserole dish. Mix the coconut, pecans, brown sugar, and margarine and flour, and put on top of potato mixture. bake at 350 degrees for 40 minutes.