add praise and trample API