lab04 intermediate