Adding codes for a second controller model.