bug squashing across all examples