sounds correct. I'm just using a nasty Math.min() right now.