Can you show me a minimal example for the implementation of each?