intial modifications for preview