made key variables booleans