updated value types to boolean