modified answer to use Base
Redone the template to use id instead of answerID