A better working preview provider