Aligning code and expectations