Added boolCheck