add Promie snippet