added docs for preview