adf-practice code examples