Organic Protection from Apple Maggots

Organic protection from Apple Maggots, thanks to Gordy Popko, who says there is no need to spray.
Take one gal plastic juice container
Cut 3” hole in the side near the top
Poke a hole in the cap to loop a string to hang from the tree
Boil 1 cup sugar
One cup water
Let cool
Add 1 cup vinegar
1 banana peel
Pour in several of these containers and hang around the trees-it will capture the maggot flies