final version of Unit I