OnCollisionEnter only detects once

This code works as it detects collision between a cube a floor and a Wall.
The problem is the cube I drop (like this video), is that I only detect the collsiion once with the wall and floor, even though the cube bounces around many times on the floor. Why is this?

http://www.unity3dstudent.com/2010/07/beginner-b01-basic-collision-detection/

void OnCollisionEnter(Collision collision) {

	if (collision.gameObject.name=="Floor")
	{
		Debug.Log("Hit Floor");
	}
	if (collision.gameObject.name=="Wall")
	{
		Debug.Log("Hit wall");
	}
	
}

For the collision to be detected again, the cube must leave the floor completely. If it just slide, then it doesn’t enter again. Make sure the cube bounces high enough.

aaarrggghh I had collapse selected and not clear on play. my mistake again.