exercise one from last semester