takes bool