Implementation of example