Analysis By Synthesis