contribution client side , was codde in indian manner. very very very dirty. Please do not code before design and matching a few patterns