add viewsynthesis function