Add function of simple preview.