- made preview optional