finalize the design