adds example which uses completeOnSpace