trying to make check box values work