added comments
doughnut gives correct value on console.log