#10 declare testMode as a possible parameter