calendar almost works and I fixed some issues with the checkboxes