Working version using alerts; next step: form input