Added live preview feature