added adim snippet