Making the best of molting