introduced 'bool' function