Add sample implementation for education purpose.