Sample implementation.