implementing preview for questions