`` the next thing i remember was the sound of a machine beeping , and when i opened my eyes , i was lying in a hospital bed with all sorts of plastic tubes attached to me and a machine monitoring my heartbeats .