removing console.log debugging statements