We bought bunk beds and separated them. David’s has a railing all the way around. He should be safe while sleeping. It’s before he falls asleep, when he’s up being silly that might be the problem. We’ll watch him very closely until he adjusts to his new bed. So exciting! My little boys aren’t so little any more.