refactoring and removing old console.logs