added v1.2-code examples