clone from svn: https://code.google.com/p/s7sama/