Add common code and graphics