Removed Boolean part of code

Removed Boolean part of code