add example and logical calc