mv sample code from sourceforge.net