The third group is the circumstances, the morally significant accidents of the act. They are added to the act which already has its moral qualification. The circumstances may increase, decrease or change the moral value of the act. Who does a particular thing is important.
Quid strictly speaking is the object.
Ubi is where the thing happened, which adds an extra condition which influences morality. By what means is important as well, for the means are central. Cur is the end, why, strictly speaking. Quomodo is the manner in which something was done. Quando is when, which is something extra that was done, showing a greater love involved in the act.