changed enum to a simple bool