added a demo image that explains what this piece of code is supposed to do