finalize prototype before demo