Added checkbox code