add preview capabilities