got the checkbox working