adding gelleryPattern