Title: Foundations of Practical Magic