Magic Cap Programmer's Cookbook