How to design the perfect practice loop.