forking https://code.google.com/p/hamiyoca/