Implementing ensembles