completed phase 2 of live preview