introducing test mode