dead flyWhy are there often fly legs on my bathroom counter?

Do flies lose them before they die?

Do they eject their legs like discarded socks?

Do they need to cut weight so they shed a leg or two?

Or is my bathroom counter home to a fly body shop, where a fly can exchange his old parts for new?