same call in markup class as preview class