if bool is public then why do you need to pass it to the sub? you can assign it a value any where.