Modified methods to take different parameters.