fixed question and answer typos, and added some functionality