add logic support