started remake of gfx logic