Adding rect make snippet