Added background model to debug mode