change alert to console.log to see more info