client side code of my personal project