worked on check box listener