removing console.log from style() method