0 and 1 replaced with TRUE and FALSE
repo cleaned up