Rectangle pattern implementation
Merge remote-tracking branch 'origin/master'