add initial version of preview