Adding getAnswer method