Effects of contextual variables on quality and performance