adding z index