Old version of exercise #36