Fork from http://code.google.com/p/name5566-merry