addng classes and z index, wrapper