added part of a polymorphism good weather case from a tutorial, thereby finding some issues that need to be fixed