use boolean instead of string