add defaults to avoid switch/enum warnings
return bool as expected