2. Define the features and functions