get types to return boolean