Experimenting with generative AI in the classroom