Revert "removed booleans"

This reverts commit 34c4661bde95704bf4764eff8b30b6c62e5621f2.