removed console.logs for bug testing.