need to figure out part 3 bug