added comments on dynamic dispatch