removed if==True or False statements, to simply if [var]