If it's not too much trouble to ask - could you post an example for using a boolean variable with this code?