# Unit 3 - Stage 8, Bubble #3

**URL:** https://forum.code.org/t/unit-3-stage-8-bubble-3/6139
**Category:** Unit and Lesson Discussion
**Tags:** csp-unit-3, csp-unit-3-lesson-8
**Created:** [November 23, 2016, 5:29pm UTC](https://forum.code.org/t/unit-3-stage-8-bubble-3/6139 "2016-11-23T17:29:47Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![cconnor](https://avatars.discourse-cdn.com/v4/letter/c/3d9bf3/32.png) [@cconnor](https://forum.code.org/u/cconnor)
#### Post date: [November 23, 2016, 5:29pm UTC](https://forum.code.org/t/unit-3-stage-8-bubble-3/6139/1 "2016-11-23T17:29:47Z")

</div>

App Lab is giving what appears to be an incorrect error message in Bubble #3. My student’s code is correct, and actually matches the teacher “suggested solution”, but when clicking Finish, she receives the error, “App Lab is expecting that you will put the pen down and pick it back up again inside your drawTriangle function.”

Student’s code is below. Can a [Code.Org](http://Code.Org) support person please weigh in?

Many thanks!

penUp();  
moveTo(150,150);  
drawTriangle(100);  
moveTo(250,300);  
drawTriangle(150);  
function drawTriangle(sideLength){  
penDown();  
moveForward(sideLength);  
turnLeft(120);  
moveForward(sideLength);  
turnLeft(120);  
moveForward(sideLength);  
turnLeft(120);  
penUp();  
}

---

<div class="post-metadata">

### Author: ![hwalden](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/hwalden/32/2254_2.png) [@hwalden](https://forum.code.org/u/hwalden)
#### Post date: [November 29, 2016, 5:37pm UTC](https://forum.code.org/t/unit-3-stage-8-bubble-3/6139/2 "2016-11-29T17:37:01Z")

</div>

The only way I could get it to work was to add penUp(); right at the beginning of the drawTriangle function, before the penDown(). It doesn’t make sense… but it passes the stage.
