add view mode & add extensions