add view code example