 While the consequences of an act often depend on the motives which give rise to the act (and partly on the agent’s intentions and the circumstances in which the act is performed), in Bentham’s theory the utility of an act is independent of its originating motive(s). In effect, there is no such thing as a good or bad motive. The utility of an act—its goodness or badness—is determined solely by its consequences: the benefits and/or costs that result. When deciding whether to act or which act to undertake, a person must calculate as best as he can the pains and pleasures that may reasonably be expected to accrue to the persons (including himself) affected by the acts under consideration. A similar calculation should guide the legislator in formulating laws. However, Bentham recognised that it was not normally feasible for an individual to engage in such a calculation as a preliminary to undertaking every act. For this reason he spoke of the general tendencies of actions to enhance happiness (suggested by past experience) as a sufficient guide in most situations. On the other hand, the implicit consequentialism of utilitarian theory is central to Bentham’s theory of punishment, in which the objective was to ensure that a punishment is in proportion to the mischief produced by a crime and sufficient to deter others from committing the same offence. To this end he developed rules to guide the lawmaker in the construction of a penal code, including the elements involved in the calculation of the mischief caused by offences and the appropriate punishments.