updated some codes

used a lightweight boilerplate