Code refined