initial release of client side code
credits