Boolean completed

Saving canges after the boolean function is confirmed to be working