Removing console.log
Moving variable to class property