adding preview and source annotation