The magic of intermediate programming