moved stuff into gbuffer