figures for the first example now generated step by step