implementing preview