stealing all of remi's work is a good place to start, I think.