Hi @makerz that’s great.
Please note as I recommended above the contract needs to be fully tested and audited. The testing guide is a great place to start: Test smart contracts like a rockstar
I have marked my reply as the solution.
Feel free to ask (and answer) all the questions that you need.