added comments. took out console.log