added rect example