dim result as boolean