checking algmnts