added new online example - 'square'