bug squashing part 1