Finalize the codes and get readly for demo