created functionality for the individual lessons