added better boolean to lesson tables