removed onclick value
updated procedure for lesse code