added a comment wehter a callback in neccesary for the addResult function or not.