logic render step