I used a similar concept in my game. I'm at work now though so I'll have to check yours out this evening.