part 2 with bugs