Code for my MathCard App