Adapting code to new scenery.