Creating two versions of the code: one with subclasses (v1), one without (v2).