Making a modification regarding the penalty, testing for different
intervals