a port of http://code.google.com/p/flix4r/