finishing up

making console logs and alerts.