removed z index parts, will redo later