Applying math to real life