got rid of extra console.log stuff