removed console.log for haircut