refactor buy
Merge pull request #3 from Nami-Doc/refactor_buy

refactor buy