faster, working preview (probably)