The secrets of programming power