working on preview page