added state booleans