testing for preview