added square example