removing the alerts() agaiin to see if that's the cause of the timeout