Just follow this: http://www.qtrac.eu/aqpbook.html