what is the correct format for using a variable in a void?