appendix with ErrorFunction Q table