The dialectical relationship between theory and practice in the design of an after-school mathematics club